lvgl_examples_src = [
  'anim/lv_example_anim_1.c',
  'anim/lv_example_anim_2.c',
  'anim/lv_example_anim_3.c',
  'anim/lv_example_anim_4.c',
  'anim/lv_example_anim_timeline_1.c',
  'assets/animimg001.c',
  'assets/animimg002.c',
  'assets/animimg003.c',
  'assets/emoji/img_emoji_F617.c',
  'assets/img_caret_down.c',
  'assets/img_cogwheel_argb.c',
  'assets/img_cogwheel_indexed16.c',
  'assets/img_cogwheel_rgb.c',
  'assets/img_hand.c',
  'assets/img_skew_strip.c',
  'assets/img_star.c',
  'assets/img_svg_img.c',
  'assets/imgbtn_left.c',
  'assets/imgbtn_mid.c',
  'assets/imgbtn_right.c',
  'event/lv_example_event_bubble.c',
  'event/lv_example_event_button.c',
  'event/lv_example_event_click.c',
  'event/lv_example_event_draw.c',
  'event/lv_example_event_streak.c',
  'get_started/lv_example_get_started_1.c',
  'get_started/lv_example_get_started_2.c',
  'get_started/lv_example_get_started_3.c',
  'get_started/lv_example_get_started_4.c',
  'grad/lv_example_grad_1.c',
  'grad/lv_example_grad_2.c',
  'grad/lv_example_grad_3.c',
  'grad/lv_example_grad_4.c',
  'layouts/flex/lv_example_flex_1.c',
  'layouts/flex/lv_example_flex_2.c',
  'layouts/flex/lv_example_flex_3.c',
  'layouts/flex/lv_example_flex_4.c',
  'layouts/flex/lv_example_flex_5.c',
  'layouts/flex/lv_example_flex_6.c',
  'layouts/grid/lv_example_grid_1.c',
  'layouts/grid/lv_example_grid_2.c',
  'layouts/grid/lv_example_grid_3.c',
  'layouts/grid/lv_example_grid_4.c',
  'layouts/grid/lv_example_grid_5.c',
  'layouts/grid/lv_example_grid_6.c',
  'libs/barcode/lv_example_barcode_1.c',
  'libs/bmp/lv_example_bmp_1.c',
  'libs/ffmpeg/lv_example_ffmpeg_1.c',
  'libs/ffmpeg/lv_example_ffmpeg_2.c',
  'libs/freetype/lv_example_freetype_1.c',
  'libs/freetype/lv_example_freetype_2.c',
  'libs/freetype/lv_example_freetype_3.c',
  'libs/gif/img_bulb_gif.c',
  'libs/gif/lv_example_gif_1.c',
  'libs/libjpeg_turbo/lv_example_libjpeg_turbo_1.c',
  'libs/libpng/img_png_demo.c',
  'libs/libpng/lv_example_libpng_1.c',
  'libs/lodepng/img_wink_png.c',
  'libs/lodepng/lv_example_lodepng_1.c',
  'libs/qrcode/lv_example_qrcode_1.c',
  'libs/rlottie/lv_example_rlottie_1.c',
  'libs/rlottie/lv_example_rlottie_2.c',
  'libs/rlottie/lv_example_rlottie_approve.c',
  'libs/svg/lv_example_svg_1.c',
  'libs/tiny_ttf/lv_example_tiny_ttf_1.c',
  'libs/tiny_ttf/lv_example_tiny_ttf_2.c',
  'libs/tiny_ttf/lv_example_tiny_ttf_3.c',
  'libs/tiny_ttf/ubuntu_font.c',
  'libs/tjpgd/lv_example_tjpgd_1.c',
  'others/file_explorer/lv_example_file_explorer_1.c',
  'others/file_explorer/lv_example_file_explorer_2.c',
  'others/file_explorer/lv_example_file_explorer_3.c',
  'others/font_manager/lv_example_font_manager_1.c',
  'others/font_manager/lv_example_font_manager_2.c',
  'others/font_manager/lv_example_font_manager_3.c',
  'others/fragment/lv_example_fragment_1.c',
  'others/fragment/lv_example_fragment_2.c',
  'others/gestures/lv_example_gestures.c',
  'others/gridnav/lv_example_gridnav_1.c',
  'others/gridnav/lv_example_gridnav_2.c',
  'others/gridnav/lv_example_gridnav_3.c',
  'others/gridnav/lv_example_gridnav_4.c',
  'others/gridnav/lv_example_gridnav_5.c',
  'others/ime/lv_example_ime_pinyin_1.c',
  'others/ime/lv_example_ime_pinyin_2.c',
  'others/imgfont/lv_example_imgfont_1.c',
  'others/monkey/lv_example_monkey_1.c',
  'others/monkey/lv_example_monkey_2.c',
  'others/monkey/lv_example_monkey_3.c',
  'others/observer/lv_example_observer_1.c',
  'others/observer/lv_example_observer_2.c',
  'others/observer/lv_example_observer_3.c',
  'others/observer/lv_example_observer_4.c',
  'others/observer/lv_example_observer_5.c',
  'others/observer/lv_example_observer_6.c',
  'others/snapshot/lv_example_snapshot_1.c',
  'others/xml/lv_example_xml_1.c',
  'others/xml/lv_example_xml_2.c',
  'porting/lv_port_disp_template.c',
  'porting/lv_port_fs_template.c',
  'porting/lv_port_indev_template.c',
  'porting/lv_port_lcd_stm32_template.c',
  'porting/osal/lv_example_osal.c',
  'scroll/lv_example_scroll_1.c',
  'scroll/lv_example_scroll_2.c',
  'scroll/lv_example_scroll_3.c',
  'scroll/lv_example_scroll_4.c',
  'scroll/lv_example_scroll_5.c',
  'scroll/lv_example_scroll_6.c',
  'scroll/lv_example_scroll_7.c',
  'scroll/lv_example_scroll_8.c',
  'styles/lv_example_style_1.c',
  'styles/lv_example_style_10.c',
  'styles/lv_example_style_11.c',
  'styles/lv_example_style_12.c',
  'styles/lv_example_style_13.c',
  'styles/lv_example_style_14.c',
  'styles/lv_example_style_15.c',
  'styles/lv_example_style_16.c',
  'styles/lv_example_style_17.c',
  'styles/lv_example_style_18.c',
  'styles/lv_example_style_19.c',
  'styles/lv_example_style_2.c',
  'styles/lv_example_style_3.c',
  'styles/lv_example_style_4.c',
  'styles/lv_example_style_5.c',
  'styles/lv_example_style_6.c',
  'styles/lv_example_style_7.c',
  'styles/lv_example_style_8.c',
  'styles/lv_example_style_9.c',
  'widgets/animimg/lv_example_animimg_1.c',
  'widgets/arc/lv_example_arc_1.c',
  'widgets/arc/lv_example_arc_2.c',
  'widgets/arc/lv_example_arc_3.c',
  'widgets/bar/lv_example_bar_1.c',
  'widgets/bar/lv_example_bar_2.c',
  'widgets/bar/lv_example_bar_3.c',
  'widgets/bar/lv_example_bar_4.c',
  'widgets/bar/lv_example_bar_5.c',
  'widgets/bar/lv_example_bar_6.c',
  'widgets/bar/lv_example_bar_7.c',
  'widgets/button/lv_example_button_1.c',
  'widgets/button/lv_example_button_2.c',
  'widgets/button/lv_example_button_3.c',
  'widgets/buttonmatrix/lv_example_buttonmatrix_1.c',
  'widgets/buttonmatrix/lv_example_buttonmatrix_2.c',
  'widgets/buttonmatrix/lv_example_buttonmatrix_3.c',
  'widgets/calendar/lv_example_calendar_1.c',
  'widgets/calendar/lv_example_calendar_2.c',
  'widgets/canvas/lv_example_canvas_1.c',
  'widgets/canvas/lv_example_canvas_10.c',
  'widgets/canvas/lv_example_canvas_11.c',
  'widgets/canvas/lv_example_canvas_2.c',
  'widgets/canvas/lv_example_canvas_3.c',
  'widgets/canvas/lv_example_canvas_4.c',
  'widgets/canvas/lv_example_canvas_5.c',
  'widgets/canvas/lv_example_canvas_6.c',
  'widgets/canvas/lv_example_canvas_7.c',
  'widgets/canvas/lv_example_canvas_8.c',
  'widgets/canvas/lv_example_canvas_9.c',
  'widgets/chart/lv_example_chart_1.c',
  'widgets/chart/lv_example_chart_2.c',
  'widgets/chart/lv_example_chart_3.c',
  'widgets/chart/lv_example_chart_4.c',
  'widgets/chart/lv_example_chart_5.c',
  'widgets/chart/lv_example_chart_6.c',
  'widgets/chart/lv_example_chart_7.c',
  'widgets/chart/lv_example_chart_8.c',
  'widgets/checkbox/lv_example_checkbox_1.c',
  'widgets/checkbox/lv_example_checkbox_2.c',
  'widgets/dropdown/lv_example_dropdown_1.c',
  'widgets/dropdown/lv_example_dropdown_2.c',
  'widgets/dropdown/lv_example_dropdown_3.c',
  'widgets/image/lv_example_image_1.c',
  'widgets/image/lv_example_image_2.c',
  'widgets/image/lv_example_image_3.c',
  'widgets/image/lv_example_image_4.c',
  'widgets/image/lv_example_image_5.c',
  'widgets/imagebutton/lv_example_imagebutton_1.c',
  'widgets/keyboard/lv_example_keyboard_1.c',
  'widgets/keyboard/lv_example_keyboard_2.c',
  'widgets/keyboard/lv_example_keyboard_3.c',
  'widgets/label/lv_example_label_1.c',
  'widgets/label/lv_example_label_2.c',
  'widgets/label/lv_example_label_3.c',
  'widgets/label/lv_example_label_4.c',
  'widgets/label/lv_example_label_5.c',
  'widgets/label/lv_example_label_6.c',
  'widgets/led/lv_example_led_1.c',
  'widgets/line/lv_example_line_1.c',
  'widgets/list/lv_example_list_1.c',
  'widgets/list/lv_example_list_2.c',
  'widgets/lottie/lv_example_lottie_1.c',
  'widgets/lottie/lv_example_lottie_2.c',
  'widgets/lottie/lv_example_lottie_approve.c',
  'widgets/menu/lv_example_menu_1.c',
  'widgets/menu/lv_example_menu_2.c',
  'widgets/menu/lv_example_menu_3.c',
  'widgets/menu/lv_example_menu_4.c',
  'widgets/menu/lv_example_menu_5.c',
  'widgets/msgbox/lv_example_msgbox_1.c',
  'widgets/msgbox/lv_example_msgbox_2.c',
  'widgets/obj/lv_example_obj_1.c',
  'widgets/obj/lv_example_obj_2.c',
  'widgets/obj/lv_example_obj_3.c',
  'widgets/roller/lv_example_roller_1.c',
  'widgets/roller/lv_example_roller_2.c',
  'widgets/roller/lv_example_roller_3.c',
  'widgets/scale/lv_example_scale_1.c',
  'widgets/scale/lv_example_scale_10.c',
  'widgets/scale/lv_example_scale_11.c',
  'widgets/scale/lv_example_scale_2.c',
  'widgets/scale/lv_example_scale_3.c',
  'widgets/scale/lv_example_scale_4.c',
  'widgets/scale/lv_example_scale_5.c',
  'widgets/scale/lv_example_scale_6.c',
  'widgets/scale/lv_example_scale_7.c',
  'widgets/scale/lv_example_scale_8.c',
  'widgets/scale/lv_example_scale_9.c',
  'widgets/slider/lv_example_slider_1.c',
  'widgets/slider/lv_example_slider_2.c',
  'widgets/slider/lv_example_slider_3.c',
  'widgets/slider/lv_example_slider_4.c',
  'widgets/span/lv_example_span_1.c',
  'widgets/spinbox/lv_example_spinbox_1.c',
  'widgets/spinner/lv_example_spinner_1.c',
  'widgets/switch/lv_example_switch_1.c',
  'widgets/switch/lv_example_switch_2.c',
  'widgets/table/lv_example_table_1.c',
  'widgets/table/lv_example_table_2.c',
  'widgets/tabview/lv_example_tabview_1.c',
  'widgets/tabview/lv_example_tabview_2.c',
  'widgets/textarea/lv_example_textarea_1.c',
  'widgets/textarea/lv_example_textarea_2.c',
  'widgets/textarea/lv_example_textarea_3.c',
  'widgets/textarea/lv_example_textarea_4.c',
  'widgets/tileview/lv_example_tileview_1.c',
  'widgets/win/lv_example_win_1.c',
]

lvgl_examples = library(
  'lvgl_examples',
  c_args: cfg,
  include_directories: include_directories('../src'),
  link_with: lvgl,
  sources: lvgl_examples_src,
)

lvgl_examples_dep = declare_dependency(
  compile_args: cfg,
  include_directories: include_directories('../src', '.'),
  link_with: lvgl_examples,
)
